const _ = require('lodash')

export function deleteNull(options) {
    var _options = {}
    _.map(options, (value, key) => {
        if (value !== null && key !== null || key !== "") {
            _options[key] = value
        }
    })
    return _options
}

export function clone(options) {
   return JSON.parse(JSON.stringify(options))
}


